﻿using BasicInformation.ErrorCode;
using MediatR;

namespace BasicInformation.ApiWrite.Application.Command.Inventory
{
    public class UpdateInventoryCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 盘点id
        /// </summary>
        public int InventoryId { get; set; }
        /// <summary>
        /// 盘点编号
        /// </summary>
        public string? InventoryCode { get; set; }
        /// <summary>
        /// 盘点结果
        /// </summary>
        public int? ResultId { get; set; }
        /// <summary>
        /// 盘点类型
        /// </summary>
        public int? ITypeId { get; set; }
        /// <summary>
        /// 盘点开始时间
        /// </summary>
        public DateTime IStartTime { get; set; }
        /// <summary>
        /// 盘点结束时间
        /// </summary>
        public DateTime IEndTime { get; set; }
        /// <summary>
        /// 仓库id（主键标识）
        /// </summary>
        public int? DepotId { get; set; }
        /// <summary>
        /// 经办人
        /// </summary>
        public string InventoryHandler { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? InventoryRemark { get; set; }
    }
}
